<?php
	$host	= "localhost";
	$user	= "root";
	$pass	= "";
	$db		= "db_guestbook";

	$conn = mysql_connect($host, $user, $pass);

	if ($conn) {
		mysql_select_db($db);
	} else {
		echo mysql_error();
	}